UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The SSH daemon must not accept environment variables from the client or must only accept those pertaining to locale.


Overview

Finding ID Version Rule ID IA Controls Severity
GEN005528-ESXI5-000106 GEN005528-ESXI5-000106 GEN005528-ESXI5-000106_rule Low
Description
Environment variables can be used to change the behavior of remote sessions and should be limited. Locale environment variables that specify the language, character set, and other features modifying the operation of software to match the user's preferences.
STIG Date
VMware ESXi v5 Security Technical Implementation Guide 2013-01-15

Details

Check Text ( C-GEN005528-ESXI5-000106_chk )
Disable lock down mode. Enable the ESXi Shell. Login as root and execute the following command(s):

# grep AcceptEnv /etc/ssh/sshd_config

If "AcceptEnv" is not set to "LOCALE" or the keyword/line is missing, this is a finding.

Re-enable lock down mode.
Fix Text (F-GEN005528-ESXI5-000106_fix)
Disable lock down mode. Enable the ESXi Shell. Login as root and execute the following command(s):
# vi /etc/ssh/sshd_config

Add/modify the "AcceptEnv" keyword to "LOCALE", i.e.; AcceptEnv = LOCALE

Re-enable lock down mode.